package com.cellulam.framework.push.common;

import lombok.Data;

import java.util.function.Consumer;

@Data
public class MailCallback {
    /**
     * 发送成功回调
     */
    private Consumer<String> sendSuccess;

    /**
     * 发送异常回调
     */
    private Consumer<Exception> sendFail;
}
